* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background: url('https://images.unsplash.com/photo-1506929562872-bb421503ef21') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}
.container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 400px;
    max-width: 90%;
    padding: 30px;
}
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
input:focus {
    outline: none;
    border-color: #3498db;
}
.head-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.head-option {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.head-option:hover {
    transform: scale(1.1);
}
.head-option.selected {
    border-color: #3498db;
}
.verification-code {
    display: flex;
}
.verification-code input {
    flex: 1;
    margin-right: 10px;
}
.verification-code button {
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.verification-code button:hover {
    background-color: #2980b9;
}
.verification-code button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.submit-btn:hover {
    background-color: #27ae60;
}
.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}
.success-message {
    color: #2ecc71;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}
.tab-container {
    display: flex;
    margin-bottom: 20px;
}
.tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.tab.active {
    border-bottom: 2px solid #3498db;
    font-weight: bold;
}
.form-section {
    display: none;
}
.form-section.active {
    display: block;
}
.password-strength {
    height: 5px;
    background-color: #ecf0f1;
    margin-top: 5px;
    border-radius: 5px;
    overflow: hidden;
}
.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s, background-color 0.3s;
}
.captcha-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
/* 登录成功状态样式 */
.login-success-container {
    text-align: center;
    padding: 20px;
}

.login-success-container .avatar-preview {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #42b983;
}

.login-success-container .avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-success-container h3 {
    color: #42b983;
    margin-bottom: 10px;
}

.login-success-container p {
    color: #666;
    font-size: 16px;
}